package com.sanery.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sanery.entity.Discovery;

public interface DiscoveryDao {

	List<Discovery> getAll();

	void addDiscovery(Discovery discovery);

	void delDiscovery(Integer id);

	List<Discovery> getMy(Integer id);

	List<Discovery> getSel(@Param("begintime") Date begintime, @Param("endtime") Date endtime, @Param("id") Integer id);

}
